package util

import "encoding/json"

func JsonIndex(val any) string {
	temp, err := json.MarshalIndent(val, "  ", "  ")
	if err != nil {
		println(err.Error())
	}
	return string(temp)
}
